package com.whw.cbf_qimodazuoye.service;

import okhttp3.MultipartBody;
import okhttp3.RequestBody;
import okhttp3.ResponseBody;
import retrofit2.Call;
import retrofit2.http.Multipart;
import retrofit2.http.POST;
import retrofit2.http.Part;

public interface fileService {

    /**
     * 上传文件接口
     * @param files
     * @return
     */
    @Multipart
    @POST("file/")
    Call<ResponseBody> uploadSingleImg(@Part MultipartBody.Part files);

}
